<!doctype html>
<html style="background-color: white;">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no viewport-fit=cover" />
		<link rel="stylesheet" type="text/css" href="../../Common/css/ufun.css" />
		<script src="../../Common/js/tools.js"></script>
		<script src="../../Common/js/jump.js"></script>
		<style>
			#Info {
				position: fixed;
				top: 30vh;
				font-size: 8vw;
				font-weight: bold;
				color: var(--color-yellow);
				text-align: center;
				width: 100%;
			}

			#GoToQues {
				position: fixed;
				top: 70vh;
				font-weight: bold;
				color: var(--color-black);
				text-align: center;
				width: 25vw;
				margin-left: 38vw;
				font-size: 5vw;
				border-bottom: 1px solid var(--color-black);
			}
			
			#QuesId {
				position: fixed;
				bottom: 2vh;
				right: 3vw;
				font-size: 2vw;
				color: var(--color-gray-light);
				text-align: right;
			}
		</style>
	</head>

	<body>
		<div id="Info">提问成功</div>
		<div onclick="goToQues();" id="GoToQues">查看问题</div>
		<div id="QuesId">问题ID: </div>
	</body>

	<script>
		var quesId;
		var current;
		document.addEventListener('plusready', function() {			GetStatusTop();
			current = plus.webview.currentWebview();
			quesId = current.quesId;
			ID('QuesId').innerHTML += quesId;
			// 关闭前两个页面
			let wvs = plus.webview.all();
			for (let wv of wvs) {
				if (wv.id === 'NewQues' || wv.id === 'NewQues2')
					wv.close('none', 0);
			}
			DoShow(current);
		});
		function goToQues() {
			JumpToQues(quesId, '../../');
			ThisClose();
		}
	</script>
</html>
